<template>
	<view>
		<u-navbar :borderBottom=false title-color="#FFFFFF" back-icon-color="#FFFFFF" :title="title"
			:background="background" @rightClick="rightClick" :autoBack="true">
		</u-navbar>
		<view style="margin: 30rpx;">
			<rich-text :nodes="content"></rich-text>
		</view>

	</view>
</template>

<script>
	import{getSystem} from '@/api/index.js'
	export default {
		data() {
			return {
				background: {
					backgroundColor: '#00C785',
				},
				content:"",
				title:"常见问题"
			}
		},
		methods: {

		},
		onLoad() {
			getSystem({
				key:'help'
			}).then(res=>{
				console.log(res);
				this.content = res.data.text
			})
		}
	}
</script>

<style lang="scss" scoped>
	.collapse-item {
		padding: 15px;
		font-size: 25rpx;
		width: auto;
	}
</style>
